﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200131B RID: 4891
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeAllRewardCsReq : IMessage<TakeAllRewardCsReq>, IMessage, IEquatable<TakeAllRewardCsReq>, IDeepCloneable<TakeAllRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003DB8 RID: 15800
		// (get) Token: 0x0600DAF5 RID: 56053 RVA: 0x0024AB09 File Offset: 0x00248D09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeAllRewardCsReq> Parser
		{
			get
			{
				return TakeAllRewardCsReq._parser;
			}
		}

		// Token: 0x17003DB9 RID: 15801
		// (get) Token: 0x0600DAF6 RID: 56054 RVA: 0x0024AB10 File Offset: 0x00248D10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeAllRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003DBA RID: 15802
		// (get) Token: 0x0600DAF7 RID: 56055 RVA: 0x0024AB22 File Offset: 0x00248D22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeAllRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600DAF8 RID: 56056 RVA: 0x0024AB29 File Offset: 0x00248D29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeAllRewardCsReq()
		{
		}

		// Token: 0x0600DAF9 RID: 56057 RVA: 0x0024AB3C File Offset: 0x00248D3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeAllRewardCsReq(TakeAllRewardCsReq other) : this()
		{
			this.pFJJFJKIANH_ = other.pFJJFJKIANH_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DAFA RID: 56058 RVA: 0x0024AB66 File Offset: 0x00248D66
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeAllRewardCsReq Clone()
		{
			return new TakeAllRewardCsReq(this);
		}

		// Token: 0x17003DBB RID: 15803
		// (get) Token: 0x0600DAFB RID: 56059 RVA: 0x0024AB6E File Offset: 0x00248D6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<OptionalReward> PFJJFJKIANH
		{
			get
			{
				return this.pFJJFJKIANH_;
			}
		}

		// Token: 0x0600DAFC RID: 56060 RVA: 0x0024AB76 File Offset: 0x00248D76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeAllRewardCsReq);
		}

		// Token: 0x0600DAFD RID: 56061 RVA: 0x0024AB84 File Offset: 0x00248D84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeAllRewardCsReq other)
		{
			return other != null && (other == this || (this.pFJJFJKIANH_.Equals(other.pFJJFJKIANH_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DAFE RID: 56062 RVA: 0x0024ABB8 File Offset: 0x00248DB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.pFJJFJKIANH_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DAFF RID: 56063 RVA: 0x0024ABEC File Offset: 0x00248DEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DB00 RID: 56064 RVA: 0x0024ABF4 File Offset: 0x00248DF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DB01 RID: 56065 RVA: 0x0024ABFD File Offset: 0x00248DFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.pFJJFJKIANH_.WriteTo(ref output, TakeAllRewardCsReq._repeated_pFJJFJKIANH_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DB02 RID: 56066 RVA: 0x0024AC24 File Offset: 0x00248E24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.pFJJFJKIANH_.CalculateSize(TakeAllRewardCsReq._repeated_pFJJFJKIANH_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DB03 RID: 56067 RVA: 0x0024AC5D File Offset: 0x00248E5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeAllRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.pFJJFJKIANH_.Add(other.pFJJFJKIANH_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DB04 RID: 56068 RVA: 0x0024AC8B File Offset: 0x00248E8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DB05 RID: 56069 RVA: 0x0024AC94 File Offset: 0x00248E94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 122U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.pFJJFJKIANH_.AddEntriesFrom(ref input, TakeAllRewardCsReq._repeated_pFJJFJKIANH_codec);
				}
			}
		}

		// Token: 0x04005707 RID: 22279
		private static readonly MessageParser<TakeAllRewardCsReq> _parser = new MessageParser<TakeAllRewardCsReq>(() => new TakeAllRewardCsReq());

		// Token: 0x04005708 RID: 22280
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005709 RID: 22281
		public const int PFJJFJKIANHFieldNumber = 15;

		// Token: 0x0400570A RID: 22282
		private static readonly FieldCodec<OptionalReward> _repeated_pFJJFJKIANH_codec = FieldCodec.ForMessage<OptionalReward>(122U, OptionalReward.Parser);

		// Token: 0x0400570B RID: 22283
		private readonly RepeatedField<OptionalReward> pFJJFJKIANH_ = new RepeatedField<OptionalReward>();
	}
}
